import request from '@/config/request.js';

// 查询商品信息管理列表
export const listGoodsInfo = (params) => request.get('/goods/goodsInfo/list', params)

// 查询商品信息管理详细
export const getGoodsInfo = (id) => request.get('/goods/goodsInfo/' + id)

// 新增商品信息管理
export const addGoodsInfo = (params) => request.post('/goods/goodsInfo', params)

// 修改商品信息管理
export const updateGoodsInfo = (params) => request.put('/goods/goodsInfo', params)

// 删除商品信息管理
export const delGoodsInfo = (id) => request.delete('/goods/goodsInfo/' + id)

// 查询商品信息管理列表
export const listAll = (params) => request.get('/goods/goodsInfo/listAll', params)